package com.csvw.skr.notice.entity;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by Administrator on 2016/11/30.
 */
@Entity
@Table(name = "csvw_skr_notice_receiver")
public class NoticeReceiver {
    @Id
    @Column(name = "pk_id", length = 50)
    private String id;
    /**
     * 消息发布者的用户ID
     */
    @Column(length = 50)
    private String messageId;

    @Column(length = 20)
    private String empno;

    @Column(length = 50, columnDefinition = "bit default 0")
    private boolean readover;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMessageId() {
        return messageId;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId;
    }

    public String getEmpno() {
        return empno;
    }

    public void setEmpno(String empno) {
        this.empno = empno;
    }

    public boolean isReadover() {
        return readover;
    }

    public void setReadover(boolean readover) {
        this.readover = readover;
    }

    public NoticeReceiver() {
    }

    public NoticeReceiver(String id, String messageId, String empno) {
        this.id = id;
        this.messageId = messageId;
        this.empno = empno;
    }


}
